const { Sequelize: Sequelize_config, Op } = require('sequelize');

const sequelize = new Sequelize_config('sharding_ms_db', 'root', '111111', {
    dialect: 'mysql',
    host: 'hddev.tpddns.cn',
    port: 3106,
    timezone: '+08:00',
    define: {
        underscored: true,
        freezeTableName: false,
        charset: 'utf8',
        dialectOptions: {
            collate: 'utf8_general_ci'
        },
    }
});

module.exports = sequelize;